package org.grapes.wine.api.client.param;

public enum ProfileField {
	NAME("name"), SEX("sex"), BIRTHDAY("birthday"), TINYURL("tinyurl"), HEADURL(
			"headurl"), MAINURL("mainurl");

	private String fieldName;

	ProfileField(String name) {
		this.fieldName = name;
	}

	public String fieldName() {
		return this.fieldName;
	}

	public String toString() {
		return fieldName();
	}

	public boolean isName(String name) {
		return toString().equals(name);
	}
}